﻿using System.Workflow.Activities;

namespace TPG.SharePoint.Workflow.Sample
{
	partial class Workflow
	{
		#region Designer generated code
		
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken1 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.Runtime.CorrelationToken correlationtoken2 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken3 = new System.Workflow.Runtime.CorrelationToken();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind9 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind10 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Runtime.CorrelationToken correlationtoken4 = new System.Workflow.Runtime.CorrelationToken();
            this.logToHistoryListActivity2 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.onWorkflowModified1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowModified();
            this.CompleteTaskTwo = new Microsoft.SharePoint.WorkflowActions.CompleteTask();
            this.OnTasktwoChanged = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
            this.CreateTaskTwo = new Microsoft.SharePoint.WorkflowActions.CreateTask();
            this.CompleteTaskOne = new Microsoft.SharePoint.WorkflowActions.CompleteTask();
            this.OnTaskOneChanged = new Microsoft.SharePoint.WorkflowActions.OnTaskChanged();
            this.CreateTaskOne = new Microsoft.SharePoint.WorkflowActions.CreateTask();
            this.eventDrivenActivity1 = new System.Workflow.Activities.EventDrivenActivity();
            this.sequenceActivity4 = new System.Workflow.Activities.SequenceActivity();
            this.sequenceActivity3 = new System.Workflow.Activities.SequenceActivity();
            this.eventHandlersActivity1 = new System.Workflow.Activities.EventHandlersActivity();
            this.parallelActivity1 = new System.Workflow.Activities.ParallelActivity();
            this.logToHistoryListActivity3 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.eventHandlingScopeActivity1 = new System.Workflow.Activities.EventHandlingScopeActivity();
            this.logToHistoryListActivity1 = new Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity();
            this.enableWorkflowModification1 = new Microsoft.SharePoint.WorkflowActions.EnableWorkflowModification();
            this.onWorkflowActivated1 = new Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated();
            // 
            // logToHistoryListActivity2
            // 
            this.logToHistoryListActivity2.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryListActivity2.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            this.logToHistoryListActivity2.HistoryDescription = "Modified";
            activitybind1.Name = "onWorkflowModified1";
            activitybind1.Path = "ContextData";
            this.logToHistoryListActivity2.Name = "logToHistoryListActivity2";
            this.logToHistoryListActivity2.OtherData = "";
            this.logToHistoryListActivity2.UserId = -1;
            this.logToHistoryListActivity2.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // onWorkflowModified1
            // 
            this.onWorkflowModified1.ContextData = null;
            correlationtoken1.Name = "modificationToken";
            correlationtoken1.OwnerActivityName = "Workflow";
            this.onWorkflowModified1.CorrelationToken = correlationtoken1;
            this.onWorkflowModified1.ModificationId = new System.Guid("e43f0c48-71a6-4e87-a9c7-42f2412b1a99");
            this.onWorkflowModified1.Name = "onWorkflowModified1";
            // 
            // CompleteTaskTwo
            // 
            correlationtoken2.Name = "TaskTwoToken";
            correlationtoken2.OwnerActivityName = "Workflow";
            this.CompleteTaskTwo.CorrelationToken = correlationtoken2;
            this.CompleteTaskTwo.Name = "CompleteTaskTwo";
            activitybind2.Name = "Workflow";
            activitybind2.Path = "TaskId2";
            activitybind3.Name = "Workflow";
            activitybind3.Path = "CustomTextData";
            this.CompleteTaskTwo.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.CompleteTaskTwo.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            // 
            // OnTasktwoChanged
            // 
            this.OnTasktwoChanged.AfterProperties = null;
            this.OnTasktwoChanged.BeforeProperties = null;
            this.OnTasktwoChanged.CorrelationToken = correlationtoken2;
            this.OnTasktwoChanged.Executor = null;
            this.OnTasktwoChanged.Name = "OnTasktwoChanged";
            activitybind4.Name = "Workflow";
            activitybind4.Path = "TaskId2";
            this.OnTasktwoChanged.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.ChangeTaskTwo_Invoked);
            this.OnTasktwoChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // CreateTaskTwo
            // 
            this.CreateTaskTwo.CorrelationToken = correlationtoken2;
            this.CreateTaskTwo.ListItemId = -1;
            this.CreateTaskTwo.Name = "CreateTaskTwo";
            this.CreateTaskTwo.SpecialPermissions = null;
            activitybind5.Name = "Workflow";
            activitybind5.Path = "TaskId2";
            this.CreateTaskTwo.TaskProperties = null;
            this.CreateTaskTwo.MethodInvoking += new System.EventHandler(this.CreateTaskTwo_Invoking);
            this.CreateTaskTwo.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // CompleteTaskOne
            // 
            correlationtoken3.Name = "TaskOneToken";
            correlationtoken3.OwnerActivityName = "Workflow";
            this.CompleteTaskOne.CorrelationToken = correlationtoken3;
            this.CompleteTaskOne.Name = "CompleteTaskOne";
            activitybind6.Name = "Workflow";
            activitybind6.Path = "TaskId";
            activitybind7.Name = "Workflow";
            activitybind7.Path = "CustomTextData";
            this.CompleteTaskOne.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.CompleteTaskOne.SetBinding(Microsoft.SharePoint.WorkflowActions.CompleteTask.TaskOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            // 
            // OnTaskOneChanged
            // 
            this.OnTaskOneChanged.AfterProperties = null;
            this.OnTaskOneChanged.BeforeProperties = null;
            this.OnTaskOneChanged.CorrelationToken = correlationtoken3;
            this.OnTaskOneChanged.Executor = null;
            this.OnTaskOneChanged.Name = "OnTaskOneChanged";
            activitybind8.Name = "Workflow";
            activitybind8.Path = "TaskId";
            this.OnTaskOneChanged.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.ChangeTaskOne_Invoked);
            this.OnTaskOneChanged.SetBinding(Microsoft.SharePoint.WorkflowActions.OnTaskChanged.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            // 
            // CreateTaskOne
            // 
            this.CreateTaskOne.CorrelationToken = correlationtoken3;
            this.CreateTaskOne.ListItemId = -1;
            this.CreateTaskOne.Name = "CreateTaskOne";
            this.CreateTaskOne.SpecialPermissions = null;
            activitybind9.Name = "Workflow";
            activitybind9.Path = "TaskId";
            this.CreateTaskOne.TaskProperties = null;
            this.CreateTaskOne.MethodInvoking += new System.EventHandler(this.CreateTaskOne_Invoking);
            this.CreateTaskOne.SetBinding(Microsoft.SharePoint.WorkflowActions.CreateTask.TaskIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind9)));
            // 
            // eventDrivenActivity1
            // 
            this.eventDrivenActivity1.Activities.Add(this.onWorkflowModified1);
            this.eventDrivenActivity1.Activities.Add(this.logToHistoryListActivity2);
            this.eventDrivenActivity1.Name = "eventDrivenActivity1";
            // 
            // sequenceActivity4
            // 
            this.sequenceActivity4.Activities.Add(this.CreateTaskTwo);
            this.sequenceActivity4.Activities.Add(this.OnTasktwoChanged);
            this.sequenceActivity4.Activities.Add(this.CompleteTaskTwo);
            this.sequenceActivity4.Name = "sequenceActivity4";
            // 
            // sequenceActivity3
            // 
            this.sequenceActivity3.Activities.Add(this.CreateTaskOne);
            this.sequenceActivity3.Activities.Add(this.OnTaskOneChanged);
            this.sequenceActivity3.Activities.Add(this.CompleteTaskOne);
            this.sequenceActivity3.Name = "sequenceActivity3";
            // 
            // eventHandlersActivity1
            // 
            this.eventHandlersActivity1.Activities.Add(this.eventDrivenActivity1);
            this.eventHandlersActivity1.Name = "eventHandlersActivity1";
            // 
            // parallelActivity1
            // 
            this.parallelActivity1.Activities.Add(this.sequenceActivity3);
            this.parallelActivity1.Activities.Add(this.sequenceActivity4);
            this.parallelActivity1.Name = "parallelActivity1";
            // 
            // logToHistoryListActivity3
            // 
            this.logToHistoryListActivity3.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryListActivity3.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            this.logToHistoryListActivity3.HistoryDescription = "Workflow complete.";
            activitybind10.Name = "Workflow";
            activitybind10.Path = "CustomTextData";
            this.logToHistoryListActivity3.Name = "logToHistoryListActivity3";
            this.logToHistoryListActivity3.OtherData = "";
            this.logToHistoryListActivity3.UserId = -1;
            this.logToHistoryListActivity3.SetBinding(Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity.HistoryOutcomeProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind10)));
            // 
            // eventHandlingScopeActivity1
            // 
            this.eventHandlingScopeActivity1.Activities.Add(this.parallelActivity1);
            this.eventHandlingScopeActivity1.Activities.Add(this.eventHandlersActivity1);
            this.eventHandlingScopeActivity1.Name = "eventHandlingScopeActivity1";
            // 
            // logToHistoryListActivity1
            // 
            this.logToHistoryListActivity1.Duration = System.TimeSpan.Parse("-10675199.02:48:05.4775808");
            this.logToHistoryListActivity1.EventId = Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType.WorkflowComment;
            this.logToHistoryListActivity1.HistoryDescription = "Hello World";
            this.logToHistoryListActivity1.HistoryOutcome = "";
            this.logToHistoryListActivity1.Name = "logToHistoryListActivity1";
            this.logToHistoryListActivity1.OtherData = "";
            this.logToHistoryListActivity1.UserId = -1;
            // 
            // enableWorkflowModification1
            // 
            this.enableWorkflowModification1.ContextData = "";
            this.enableWorkflowModification1.CorrelationToken = correlationtoken1;
            this.enableWorkflowModification1.ModificationId = new System.Guid("e43f0c48-71a6-4e87-a9c7-42f2412b1a99");
            this.enableWorkflowModification1.Name = "enableWorkflowModification1";
            this.enableWorkflowModification1.MethodInvoking += new System.EventHandler(this.WorkflowModification_Invoking);
            // 
            // onWorkflowActivated1
            // 
            correlationtoken4.Name = "WorkflowToken";
            correlationtoken4.OwnerActivityName = "Workflow";
            this.onWorkflowActivated1.CorrelationToken = correlationtoken4;
            this.onWorkflowActivated1.EventName = "OnWorkflowActivated";
            this.onWorkflowActivated1.Name = "onWorkflowActivated1";
            this.onWorkflowActivated1.WorkflowProperties = null;
            this.onWorkflowActivated1.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.WorkflowActivated_Invoked);
            // 
            // Workflow
            // 
            this.Activities.Add(this.onWorkflowActivated1);
            this.Activities.Add(this.enableWorkflowModification1);
            this.Activities.Add(this.logToHistoryListActivity1);
            this.Activities.Add(this.eventHandlingScopeActivity1);
            this.Activities.Add(this.logToHistoryListActivity3);
            this.Name = "Workflow";
            this.CanModifyActivities = false;

		}

		#endregion

        private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated OnWorkflowActivated;
        private SequenceActivity sequenceActivity4;
        private SequenceActivity sequenceActivity3;
        private ParallelActivity parallelActivity1;
        private Microsoft.SharePoint.WorkflowActions.CompleteTask CompleteTaskOne;
        private Microsoft.SharePoint.WorkflowActions.CompleteTask CompleteTaskTwo;
        private Microsoft.SharePoint.WorkflowActions.OnTaskChanged OnTasktwoChanged;
        private Microsoft.SharePoint.WorkflowActions.CreateTask CreateTaskTwo;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logToHistoryListActivity1;
        private EventHandlingScopeActivity eventHandlingScopeActivity1;
        private Microsoft.SharePoint.WorkflowActions.OnWorkflowActivated onWorkflowActivated1;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logToHistoryListActivity2;
        private Microsoft.SharePoint.WorkflowActions.OnWorkflowModified onWorkflowModified1;
        private EventDrivenActivity eventDrivenActivity1;
        private EventHandlersActivity eventHandlersActivity1;
        private Microsoft.SharePoint.WorkflowActions.CreateTask CreateTaskOne;
        private Microsoft.SharePoint.WorkflowActions.OnTaskChanged OnTaskOneChanged;
        private Microsoft.SharePoint.WorkflowActions.LogToHistoryListActivity logToHistoryListActivity3;
        private Microsoft.SharePoint.WorkflowActions.EnableWorkflowModification enableWorkflowModification1;
	}
}
